package org.jsrml.core.supplier.entity;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class VendorInfo {
	
	@Column(name = "AUTH_ACCOUNT_ID", length = 64)
	private String authAccountId;
	
	/**
	 * 供方简称
	 */
	@Column(name = "SHORT_NAME", length = 64)
	private String shortName;
	
	/**
	 * 供方类别，0：供应商、1：外协商
	 */
	
	@Column(name = "SUPPLY_TYPE", length = 4)
	private String supplyType;
	
	/**
	 * 法人
	 */
	@Column(name = "SUPPLY_BOSS", length = 64)
	private Integer supplyBoss;
	
	/**
	 * 邮箱
	 */
	@Column(name = "EMAIL", length = 32)
	private String email;
	
	/**
	 * 备注
	 */
	@Column(name = "REM", columnDefinition=M.TEXT_COLUMN)				
	private String Rem;
						

	@Column(name = "VENDOR_CODE", length = 64)
	private String vendorCode;
	
	@Column(name = "VENDOR_NAME", length = 128)
	private String vendorName;
	
	
	/** 
	  *邮政编码
	 */
	@Column(name = "POST_CODE", length = 16)
	private String postCode;
	
	/** 
	  *公司电话
	 */
	@Column(name = "TEL", length = 32)
	private String tel;
	
	/** 
	  *传真号码
	 */
	@Column(name = "FAX", length = 32)
	private String fax;
	
	/** 
	  *公司网址
	 */
	@Column(name = "WEB_URL", length = 128)
	private String webUrl;

	public String getVendorCode() {
		return vendorCode;
	}

	public void setVendorCode(String vendorCode) {
		this.vendorCode = vendorCode;
	}

	public String getVendorName() {
		return vendorName;
	}

	public void setVendorName(String vendorName) {
		this.vendorName = vendorName;
	}


	public String getPostCode() {
		return postCode;
	}

	public void setPostCode(String postCode) {
		this.postCode = postCode;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getWebUrl() {
		return webUrl;
	}

	public void setWebUrl(String webUrl) {
		this.webUrl = webUrl;
	}

	public String getShortName() {
		return shortName;
	}

	public void setShortName(String shortName) {
		this.shortName = shortName;
	}

	public String getSupplyType() {
		return supplyType;
	}

	public void setSupplyType(String supplyType) {
		this.supplyType = supplyType;
	}

	public Integer getSupplyBoss() {
		return supplyBoss;
	}

	public void setSupplyBoss(Integer supplyBoss) {
		this.supplyBoss = supplyBoss;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getRem() {
		return Rem;
	}

	public void setRem(String rem) {
		Rem = rem;
	}

	public String getAuthAccountId() {
		return authAccountId;
	}

	public void setAuthAccountId(String authAccountId) {
		this.authAccountId = authAccountId;
	}
	
	
}
